﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using PVAutoTest.LibCommon;

namespace PVAutoTest.TestMngr
{

    public class TestData
    {
    }

    public class TestData_Event : TestData
    {
        public TestData_Event()
        {
            case_no = -1;
            case_sub_no = 1;
            msg_no = "";
            dev_id = "";
            set_state = "";
            component_id = "";
            component_state = "";
            event_no = "";
            msg_str = "";
            event_id = 1;
        }

        ~TestData_Event()
        { 
        }

        public int case_no;
        public int case_sub_no;//for multi-run of one case
        public string msg_no;
        public string dev_id;
        public string set_state;
        public string component_id;
        public string component_state;
        public string event_no;
        public string msg_str;
        public int event_id;//increase by 1 per case, otherwise server will reject if 2 event with the same event id.
    }

    public class TestCaseResult
    {
        public TestCaseResult()
        {
        }

        ~TestCaseResult()
        {
        }

        public ProjectDefine.TCResult_e TestResult;
        public string Info = "";
        public string expect_result = "";
        public string actual_result = "";
        public DateTime start_time;
        public DateTime end_time;
    }

    
}
